package com.issue.system.mapper;

import java.util.List;
import com.issue.system.domain.ChildAttendance;
import org.apache.ibatis.annotations.Param;

/**
 * AttendanceMapper接口
 * 
 * @author system
 * @date 2024-10-20
 */
public interface ChildAttendanceMapper 
{
    /**
     * 查询Attendance
     * 
     * @param id Attendance主键
     * @return Attendance
     */
    public ChildAttendance selectChildAttendanceById(Long id);

    /**
     * 查询Attendance列表
     * 
     * @param childAttendance Attendance
     * @return Attendance集合
     */
    public List<ChildAttendance> selectChildAttendanceList(ChildAttendance childAttendance);

    /**
     * 新增Attendance
     * 
     * @param childAttendance Attendance
     * @return 结果
     */
    public int insertChildAttendance(ChildAttendance childAttendance);

    /**
     * 修改Attendance
     * 
     * @param childAttendance Attendance
     * @return 结果
     */
    public int updateChildAttendance(ChildAttendance childAttendance);

    /**
     * 删除Attendance
     * 
     * @param id Attendance主键
     * @return 结果
     */
    public int deleteChildAttendanceById(Long id);

    /**
     * 批量删除Attendance
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteChildAttendanceByIds(Long[] ids);

    List<ChildAttendance> selectListByPhone(@Param("phone") String phone);
}
